<template>
    <el-table
        :data="virusData"
        height="500"
        border
        style="width: 90%; margin: 0 auto">

        <el-table-column prop="state" label="地区"></el-table-column>
        <el-table-column prop="country" label="国家"></el-table-column>
        <el-table-column prop="latestTotalCases" label="感染总人数"></el-table-column>
        <el-table-column prop="diffFromPrevDay" label="日增病例人数"></el-table-column>
    </el-table>
</template>

<script>
export default {
    props:["virusData"]
}
</script>
